home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Online / cnetdevice / Examples / AmiTCP3.0b / Startnet < prev    next >
Text File  |  1997-07-30  |  847b  |  32 lines

  1. ;=====================================================================
  2. ;                    Ethernet startup with NFS
  3. ;=====================================================================
  4.  
  5. assign TCP: exists >nil:
  6. if warn
  7.   run >nil: AmiTCP:AmiTCP
  8.   rexxc:waitforport AMITCP
  9.   AmiTCP:bin/ifconfig lo0 localhost
  10.   mount TCP: from AmiTCP:devs/inet-mountlist
  11.   setenv USER bhabbott
  12.   setenv USERNAME bhabbott
  13.   setenv HOME ram:
  14.   setenv HOSTNAME inhb.co.nz
  15. endif
  16.  
  17. AmiTCP:bin/ifconfig cnet0 192.168.0.6    ; activate CNet card
  18.  
  19. stack 50000
  20. amitcp:bin/ch_nfsmount ALL               ; start NFS to peecees
  21.  
  22. assign PIPE: exists >nil:
  23. if warn
  24.  mount pipe:                              ; pipe required by ls
  25. endif
  26.  
  27. assign apache: AmiTCP:apache_1.0.5
  28. assign bin: apache:bin
  29. assign etc: AmiTCP:db
  30. run >nil: AmiTCP:bin/inetd               ; start server(s)
  31.  
  32.